<template>
  <div>
    <div class="divheard">
      <div class="fangkuai"></div>
      <div class="sp">{{ title }}</div>
      <div class="divdata">
        <span class="">{{showdatatext}}</span>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: "",
    },
    showdatatext:{
      type: String,
      default: "",
    }
  },
  name: "myheader",
  data() {
    return {};
  },
  created() {
    
  },
};
</script>

<style scoped>
.divheard {
  width: 100%;
  height: 1.875rem /* 30/16 */;
  background-color: rgb(27, 39, 105);
  position: relative;
  border: 1px solid rgb(85, 125, 219);
}
.divheard .fangkuai {
  width: 0.625rem /* 10/16 */;
  height: 0.625rem /* 10/16 */;
  top: 50%;
  left: 0.625rem /* 10/16 */;
  margin-top: -5px;
  float: left;
  position: absolute;
  background-color: rgb(72, 128, 255);
}
.divheard .sp {
  float: left;
  font-weight: bold;
  top: 50%;
  margin-top: -15px;
  font-size: 22px;
  left: 2.1875rem /* 35/16 */;
  position: absolute;
}
.divheard .divbtn {
  float: right;
  height: 100%;
}

.divheard .divbtn button {
  margin-top: .0625rem /* 1/16 */;
  font-weight: bold;
  height: 1.8125rem /* 29/16 */;
  width: 3.125rem /* 50/16 */;
  color: rgb(102, 102, 102);
  background-color: rgb(27, 39, 105);
  border-color: transparent;
}
.btnmousemove {
  color: #fff;
  background-color: rgb(9, 18, 41);
}
.btnmouseout {
  color: rgb(102, 102, 102);
  background-color: rgb(27, 39, 105);
}
.divheard .divdata {
  float: right;
  font-weight: bold;
  top: 50%;
  margin-right: 0.9375rem /* 15/16 */;
  font-size: 22px;
}
</style>
